.gal_con{width:97%;height:100%;margin-bottom: 20px;padding:0 1% 0 0;overflow-x:hidden;overflow-y:auto}
.gal_con:before, .gal_con:after{content:"";display:table}
.gal_con:after{clear:both}
.item{float:left;margin-bottom:6px;cursor:pointer;background-color:#ccc}
.item img{vertical-align:bottom}
.first-item{clear:both}
.last-row, .last-row ~ .item{margin-right:6px}